package com.shimao.celnet.payment.model;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "a_sys_user_role")
public class ASysUserRole extends BaseModel implements Serializable {

    /**
     * 用户GUID
     */
    @Column(name = "user_guid")
    private String userGuid;

    /**
     * 角色GUID
     */
    @Column(name = "role_guid")
    private String roleGuid;


    /**
     * 获取用户GUID
     *
     * @return user_guid - 用户GUID
     */
    public String getUserGuid() {
        return userGuid;
    }

    /**
     * 设置用户GUID
     *
     * @param userGuid 用户GUID
     */
    public void setUserGuid(String userGuid) {
        this.userGuid = userGuid;
    }

    /**
     * 获取角色GUID
     *
     * @return role_guid - 角色GUID
     */
    public String getRoleGuid() {
        return roleGuid;
    }

    /**
     * 设置角色GUID
     *
     * @param roleGuid 角色GUID
     */
    public void setRoleGuid(String roleGuid) {
        this.roleGuid = roleGuid;
    }

//    @Override
//    public String toString() {
//        return "ASysUserRole{" +
//                " guid='" + getGuid() + '\'' +
//                ", deleteFlg='" + getDeleteFlg() + '\'' +
//                ", roleGuid='" + roleGuid + '\'' +
//                ", userGuid='" + userGuid + '\'' +
//                '}';
//    }
}